package com.iversonx.proxy.example_1.service;

import com.iversonx.proxy.example_1.domain.RequestInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 *
 **/
@Component
public class MetricsCollector {
    private final Logger logger = LoggerFactory.getLogger(MetricsCollector.class);
    public void recordRequest(RequestInfo requestInfo) {
        logger.info("{}", requestInfo);
    }
}
